
<style>
.affix{top:10px;}
.head-style-list li,.editor-template-list li{cursor: pointer;}
</style>
		<div class="ui-portlet">
			{{template wxes/_user_wxes}}
			<ol class="breadcrumb">
			  <li><a href="/users/index"><i class="fa fa-home"></i>用户中心</a></li>
			  <li><a href="/wx_cities/mine">服务城市</a></li>
			  <li class="active">增加/编辑服务城市</li>
			</ol>   
		</div>        
       <hr>

{{$this->Form->create('WxCity',array('class'=>'form-horizontal','role'=>'form'))}}
	
	<div class="form-group">
		<label class="col-sm-2 control-label" for="WxCityCityId">所属城市</label>
		<div class="col-sm-9 controls select">
			{{$this->Form->hidden('id')}}
			{{$this->Form->input('city_id',array('class'=>'form-control','div'=>false,'label'=>false))}}
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label" for="WxCityCoverImg">封面图片</label>
		<div class="col-sm-9 controls select">
			{{$this->Swfupload->load('coverimg',array(
			'label'=>false,'modelClass'=>'WxCity',
			'no_db'=>1,'upload_limit'=>1,
			'file_types'=> '*.jpg;*.gif;*.png;*.bmp',
			'isadmin'=>false
			))}}
		</div>
	</div>
	<!-- 需要额外的表增加多语言 <div class="form-group" id="divWxMsgSummary">
		<label class="col-sm-2 control-label" for="WxMsgSummary">摘要描述</label>
		<div class="col-sm-9 controls">
			{{$this->Form->input('summary',array('class'=>'form-control','div'=>false,'label'=>false,'rows'=>'3','after'=>'<p>单图文消息时作为消息摘要发出；文本消息时作为消息内容发出</p>'))}}
		</div>
	</div> -->

	
	
	<div class="form-group">
		<label class="col-sm-2 control-label"></label>
		<div class="col-sm-9"><input class="btn btn-primary" type="submit" value="提交"></div>
	</div>
{{$this->Form->end()}}

{{$this->Html->script(array(
	'swfupload/swfupload.js',
	'swfupload/swfupload.queue.js',
	'swfupload/swfupload.cookies.js',
	'swfupload/fileprogress.js',
	'swfupload/handlers.js',
))}}
